Sat Apr 10 00:39:29 1993 Jim Blandy (jimb@totoro.cs.oberlin.edu)
authorJim Blandy <jimb@redhat.com>
Sat, 10 Apr 1993 06:21:16 +0000 (06:21 +0000)
committerJim Blandy <jimb@redhat.com>
Sat, 10 Apr 1993 06:21:16 +0000 (06:21 +0000)
* paragraphs.el (sentence-end, forward-sentence): Doc fixes.

lisp/textmodes/paragraphs.el

index baebf2d23ffd7d16ec97ec1db0420d2e7b4590d3..ae2af6740741f45f8370b728389aa7b7645162ac 100644 (file)
@@ -37,7 +37,11 @@ If you change this, you may have to change paragraph-start also.")
 
 (defconst sentence-end (purecopy "[.?!][]\"')}]*\\($\\| $\\|\t\\|  \\)[ \t\n]*") "\
 *Regexp describing the end of a sentence.
-All paragraph boundaries also end sentences, regardless.")
+All paragraph boundaries also end sentences, regardless.
+
+In order to be recognized as the end of a sentence, the ending period,
+question mark, or exclamation point must be followed by two spaces,
+unless it's inside some sort of quotes or parenthesis.")
 
 (defconst page-delimiter "^\014" "\
 *Regexp describing line-beginnings that separate pages.")
@@ -178,7 +182,7 @@ negative arg -N means kill forward to Nth end of paragraph."
              (end-of-paragraph-text))))))
 
 (defun forward-sentence (&optional arg)
-  "Move forward to next`sentence-end'.  With argument, repeat.
+  "Move forward to next `sentence-end'.  With argument, repeat.
 With negative argument, move backward repeatedly to `sentence-beginning'.
 
 The variable `sentence-end' is a regular expression that matches ends of